package control;

import java.util.ArrayList;
import java.util.List;
import java.util.ListIterator;

import core.Component;
import core.Coordinate;
import factory.ComponentFactory;
import factory.ComponentInterface;
import factory.CreatComponent;

public class Editor {
	private List<ComponentInterface> ComponentList;

	public Editor() {
		List<ComponentInterface> listcomp = new ArrayList<ComponentInterface>();
		ComponentFactory comp = new CreatComponent();
		
//		ComponentInterface earth = comp.creatEarth();				//komponens letrehozasa
//		ComponentInterface water = comp.creatWater();
//		earth.setPosition(new Coordinate(1,1));						//komponens adatai valtoztatasa
//		earth.setSize(new Coordinate(1,1));
		
		
//		listcomp.add(earth);										//Lista hozzaadas
//		listcomp.add(water);
//		ListIterator li = ComponentList.listIterator();				//Lista bejaras
//		while (li.hasNext())
//			System.out.println(li.next());
	}
}
